import { RouterProvider } from 'react-router-dom'
import React, { useEffect } from 'react'
import router from './router'
import {messageInfo} from "./utils/message";
function App() {
    useEffect(() => {
        window.$message = messageInfo
    },[])
  return (
    <div className="App">
        <RouterProvider router={router} />
    </div>
  );
}

export default App;
